import AutoTooltip from './auto-tooltip/AutoTooltip.vue'
import BasePage from './base-page/BasePage.vue'
import BaseTable from './base-table/BaseTable.vue'
import BaseDialog from './base-dialog/BaseDialog.vue'
import BaseDrawer from './base-drawer/BaseDrawer.vue'
import BaseApprove from './base-approve/BaseApprove.vue'
import BaseCard from './base-card/BaseCard.vue'
import BaseForm from './base-form/BaseForm.vue'
import BasePageWrapper from './base-page-wrapper/BasePageWrapper.vue'

/**
 * components 根据需要进行配置
 */
export default (app: any) => {
  app.component('AutoTooltip', AutoTooltip)
  app.component('BasePage', BasePage)
  app.component('BaseTable', BaseTable)
  app.component('BaseDialog', BaseDialog)
  app.component('BaseDrawer', BaseDrawer)
  app.component('BaseApprove', BaseApprove)
  app.component('BaseCard', BaseCard)
  app.component('BaseForm', BaseForm)
  app.component('BasePageWrapper', BasePageWrapper)
}
